import { createApp } from 'vue';
import Antd from 'ant-design-vue';
import 'ant-design-vue/dist/reset.css';
import App from './App.vue';
import { createPinia } from 'pinia';
import router from './router';
import VScaleScreen from 'v-scale-screen';
import './style.scss';
import ElementPlus from 'element-plus';
import 'element-plus/dist/index.css';
import Viewer from 'v-viewer';
import 'viewerjs/dist/viewer.css';

const app = createApp(App);

app
  .use(Antd)
  .use(createPinia())
  .use(router)
  .use(VScaleScreen)
  .use(ElementPlus)
  .use(Viewer)
  .mount('#app');

export default app;
